<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>未返点</title>
<script type="text/javascript" src="../boot.js"></script>
<script>
var tbgrid;
function parsePage(){
	
$('#toolbar').toolbar({
	items:[{
		text:'生成返点记录',
		iconCls:'icon-setting',
		handler:function(){
			add();
		}
	},'-',{
		text:'导出',
		iconCls:'icon-export'
	}]
});

toolSearch();


tbgrid = $('#tbList').datagrid({
				data:{"total":1,"rows":[{'id':'1','col1':'卖鞋趣','col2':'卖鞋趣','col3':'2011.8.4 - 2011.8.5','col4':'15.56','col5':'2011.8.4'}]},
				singleSelect:true,
		    columns:[[
					{
					title:'分销商名称',
					field:'col1',
					width:200
					},{
					title:'登录账号',
					field:'col2',
					width:150
					},{
					title:'返点周期',
					field:'col3',
					width:150
					},{
					title:'返点金额',
					field:'col4',
					width:80
					},{
					title:'生成时间',
					field:'col5',
					width:100
					},
					{
				title : '操作',
				field:'opt',
				width:80,
				formatter:function(value,rec,index){
						var str='<a href="javascript:;" class="jsAudit">审核</a>';
						return str;
					}
			}
		]],
		onLoadSuccess:function(){		
			$('.jsAudit').click(function(){
				ygDialog({
					title:'活动跟踪',
					url:'active-monitoring.html',
				});
				return false;
			});
		}

	});

}


</script>
</head>

<body class="easyui-layout">
<div data-options="region:'north',border:false" class="toolbar-region">
    <div id="toolbar">
    </div>
</div>
<div  data-options="region:'center',border:false">
    <!--subLayout start-->
    <div class="easyui-layout" data-options="fit:true" id="subLayout">
        <!--搜索start-->
        <div data-options="region:'north',border:false" >
            <div class="search-div">
                <form name="searchForm" id="searchForm" action="" method="post" >
                    <table class="search-tb" >
                        <col width="80" />
                        <col/>
                        <col width="80" />
                        <col/>
                        <col width="80" />
                        <col/>
                        <tbody>
                            <tr>
                                <th>分销商名称：</th>
                                <td><input type="text" class="ipt" /></td>
                                <th>登录账号：</th>
                                <td><input type="text" class="ipt" /></td>
                                <th>返点周期：</th>
                                <td ><input class="ipt easyui-datebox"   /> - <input class="ipt easyui-datebox"  /> <a class="easyui-linkbutton ml10" id="SearchBtn">搜索</a></td>
                            </tr>
                        </tbody>
                    </table>
                </form>
            </div>
        </div>
        <!--搜索end--> 
        <!--列表-->
        <div data-options="region:'center',border:false">
            <table id="tbList">
            </table>
        </div>
    </div>
    <!--subLayout end-->
</div>
</body>
</html>
